export const fishCategory = [
  {label: '鲫鱼', value: 1},
  {label: '草鱼', value: 2},
  {label: '青鱼', value: 3},
  {label: '黑鱼', value: 4},
  {label: '鲢鳙', value: 5},
  {label: '翘嘴', value: 6},
  {label: '鳊鱼', value: 7},
  {label: '鲤鱼', value: 8},
]

export const getFishNames = (ids) => {
  let list = []
  for(let id of ids){
    for(let f of fishCategory){
      if(id == f.value){
        list.push(f.label)
      }
    }
  }
  return list.join('，')
}